<?php


namespace app\zhongcan\validate;


use think\Validate;
class BannerValidate extends Validate
{
    //定义验证规则
    protected  $rule=[

    ];
    //定义验证失败时的提示信息
    protected $message = [

        // ......
    ];
    //验证场景
    protected $scene=[
        'add'=>[],
        'edit'=>[],
    ];
}